//
//  YJAlertView.h
//  Sports-Go
//
//  Created by rimi on 16/9/23.
//  Copyright © 2016年 YRL. All rights reserved.
//

#import <UIKit/UIKit.h>
@protocol YJAlertViewDelegate<NSObject>
@optional
-(void)didClickButtonAtIndex:(NSUInteger)index;

@end

@interface YJAlertView : UIView
@property (weak,nonatomic) id<YJAlertViewDelegate> delegate;
-(instancetype)initWithTitle:(NSString *) title Image:(UIImage *)image CancelButton:(NSString *)cancelButton OkButton:(NSString *)okButton;
- (void)show;
- (instancetype)initWithTitle:(NSString *) title content:(NSString *)content  OkButton:(NSString *)okButton;

@end
